package com.longqin.wechat.entity;

import java.io.Serializable;

public class DataPage implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer page;
	
	private Integer size;
	
	public Integer getPage() {
		if(null==this.page)return 1;
		return page;
	}
	
	public void setPage(Integer page) {
		this.page = page;
	}
	
	public Integer getSize() {
		if(null==this.size)return 10;
		return size;
	}
	
	public void setSize(Integer size) {
		this.size = size;
	}
}
